package org.yourscrum.service;

import org.yourscrum.domain.Story;
import org.yourscrum.domain.Task;

import java.util.List;

/**
 * 
 * @author Jettro Coenradie
 */
public interface StoryService {
    List<Story> listAllStories();

    Story obtainStoryById(Long id);

    Story createStory(String name, String description);

    Story changeStory(long id, String name, String description);

    Story addTaskToStory(long storyId, String description, int estimatedHours);

}
